Validity of the Spanish version of the Herth Hope Index and the Beck Hopelessness Scale in people who have attempted suicide